<template>
  <div class="continua">
    <div class="content">
      <hr/>
      <Children title="hello" data="123" @abc="handler" color="red"></Children>
    </div>
  </div>
</template>

<script setup>
import Children from "@/components/05组件通讯/04- useAttrs/children.vue";

const handler = (props = 1) => {
  console.log('执行了', props)
}

</script>

<style scoped lang="less">
.continua {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  .content {
    width: 500px;
    height: 500px;
    border: 1px solid #ccc;
  }
}
</style>
